package com.pn.taikao.entity;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 试卷实体
 */
@Data
public class Paper {
    private Long id;
    
    /**
     * 试卷名称
     */
    private String name;
    
    /**
     * 创建教师ID
     */
    private Long teacherId;
    
    /**
     * 课程ID
     */
    private Long courseId;
    
    /**
     * 考试时长（分钟）
     */
    private Integer duration;
    
    /**
     * 开始时间
     */
    private LocalDateTime startTime;
    
    /**
     * 结束时间
     */
    private LocalDateTime endTime;
    
    /**
     * 试卷状态：draft-草稿，published-已发布
     */
    private String status;
    
    private String createBy;
    private LocalDateTime createTime;
    private String updateBy;
    private LocalDateTime updateTime;
}


